package com.tom.demo.common.enums;

import lombok.Getter;

@Getter
public enum OperaTypeEnum {

    ADD("ADD","新增"),
    DELETE("DELETE","删除"),
    UPDATE("UPDATE","更新"),
    LOGIN("LOGIN","登录"),
    GET_USER_INFO("GET_USER_INFO","获取用户信息"),
    GET_ROUTER_INFO("GET_ROUTER_INFO","获取路由信息"),
    LOGOUT("LOGOUT","退出登录");

    private final String code;
    private final String type;

    OperaTypeEnum(String code, String type) {
        this.code = code;
        this.type = type;
    }

}